<template>
  <el-container>
    <el-aside width="200px">
      <MeunComp/>
    </el-aside>
    <el-main>
      <HeaderComp/>
      <!-- 默认二级路由 -->
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
import HeaderComp from '@/components/HeaderComp.vue';
import MeunComp from '@/components/MeunComp.vue';
export default {
  components: {
    HeaderComp,MeunComp,
  },
};
</script>

<style>
.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 100%;
}

.el-main {
  color: #333;
  text-align: center;
  line-height: 100%;
}
</style>